package com.yiyi.credit.manage.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


@ApiModel(value = "数据字典信息")
@Table(name = "dict_info")
public class DictInfo {

    @Id
    @Column(name = "id", columnDefinition = "主键")
    @ApiModelProperty(value = "主键")
    private Long id;

    @Column(name = "code", columnDefinition = "编码")
    @ApiModelProperty(value = "编码")
    private Integer code;

    @Column(name = "type", columnDefinition = "类型")
    @ApiModelProperty(value = "类型")
    private String type;

    @Column(name = "name", columnDefinition = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    @Column(name = "dict_code", columnDefinition = "字典编码")
    @ApiModelProperty(value = "字典编码")
    private Integer dictCode;

    @Column(name = "dict_desc", columnDefinition = "字典描述")
    @ApiModelProperty(value = "字典描述")
    private String dictDesc;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDictCode() {
        return dictCode;
    }

    public void setDictCode(Integer dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictDesc() {
        return dictDesc;
    }

    public void setDictDesc(String dictDesc) {
        this.dictDesc = dictDesc;
    }
}
